package com.example.lee1.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.Date;

/**
 * @author chenshun
 * @email sunlightcs@gmail.com
 * @date 2020-08-13 16:12:03
 */
@Data
@TableName("test_table")
@AllArgsConstructor
@NoArgsConstructor
public class TestTableEntity implements Serializable {

  /** */
  //  @TableId(type = IdType.AUTO)
  @TableId(value = "id", type = IdType.AUTO)
  private Long id;
  /** */
  private String name;
  /** */
  private Date createTime;
  /** */
  private String createUserId;
  /** */
  private Date updateTime;
  /** */
  private String updateUserId;
  /** */
  private Integer isDelete;
}
